<?php

declare(strict_types=1);

namespace app\model\admin;

use app\model\AdminBaseModel;
use think\Model;

/**
 * @mixin \think\Model
 */
class ProfitSet extends AdminBaseModel
{
    // 数据表名称
    // 产品规格名和产品规格值
    protected $table = 'profit_set';
    protected $scopeField = true;

    //可搜索字段
    protected $searchField = [];
    // like
    protected $singleSearchField = [];
    //可作为条件的字段
    protected $whereField = [];
    //可做为时间范围查询的字段
    protected $timeField = ['created_at'];

    // public function cate()
    // {
    //     return $this->belongsTo(CateModel::class, 'cate_id', 'id');
    // }
}
